import { IForm } from '@/render/base-ui/form'
export const addHighLevelApiConfig: IForm = {
  labelWidth: '100px',
  itemStyle: {
    padding: '2px 10px'
  },
  colLayout: {
    span: 24
  },
  labelPosition: 'left',
  formItems: [
    {
      field: 'name',
      type: 'input',
      label: '函数名称'
    },
    {
      fields: [
        {
          field: 'dataType'
        },
        {
          field: 'value'
        }
      ],
      options: [],
      type: 'select-input-button',
      label: '输入参数'
    },

    {
      field: 'output',
      type: 'select',
      options: [],
      label: '输出类型'
    },
    {
      field: 'config',
      type: 'select',
      options: [],
      label: '配置参数'
    },
    {
      field: 'lowApi',
      type: 'select',
      options: [],
      label: '对应底层API'
    }
  ]
}
